/*
 * @Author: lwHao
 * @Date: 2020-07-16 18:12:58
 * @LastEditors: lwHao
 * @LastEditTime: 2020-07-17 16:38:08
 */ 
// rollup默认只能读取esmodule模块
import _ from 'lodash-es'
// import { log } from './logger'
import message from './message'
import { name, version } from '../package.json'
import cjs from './cjs-module';

// 使用模块成员
const msg = message.hi

// log(msg)

// log(name);

// log(version)

// log(_.camelCase('hello word'))

// log(cjs)

//动态导入
import('./logger').then(({log})=>{
  log('code splitting')
})